import http from "./http";
import qs from "qs";

// 商户财务总报表 分页汇总
export const financeSum = (params) => {
  return http.get("/manager/report/financeSum", params)
}
// 商户财务总报表 分页列表
export const financePage = (params) => {
  return http.get("/manager/report/financePage", params)
}
// 商户财务总报表 明细汇总
export const financeInfoSum = (params) => {
  return http.get("/manager/report/financeInfoSum", params)
}
// 商户财务总报表 分页汇总
export const financeInfoPage = (params) => {
  return http.get("/manager/report/financeInfoPage", params)
}
// 报表管理 新商户概要
export const merchantOutlinePage = (params) => {
  return http.get("/manager/report/merchantOutlinePage", params)
}
// 报表管理 新会员概要
export const memberOutlinePage = (params) => {
  return http.get("/manager/report/memberOutlinePage", params)
}

// 会员交易报表 分页汇总
export const memberSum = (params) => {
  return http.get("/manager/memberReport/reportSum", params)
}
// 会员交易报表 分页列表
export const memberPage = (params) => {
  return http.get("/manager/memberReport/reportPage", params)
}
// 会员交易报表 明细汇总
export const memberInfoSum = (params) => {
  return http.get("/manager/memberReport/reportInfoSum", params)
}
// 会员交易报表 分页汇总
export const memberInfoPage = (params) => {
  return http.get("/manager/memberReport/reportInfoPage", params)
}
// 分类交易报表
export const reportPage = (params) => {
  return http.get("/manager/report/classList", params)
}


// eslint-disable-next-line import/no-anonymous-default-export
export default {
  reportPage,
  memberSum,
  memberPage,
  memberInfoSum,
  memberInfoPage,
  memberOutlinePage,
  merchantOutlinePage,
  financeSum,
  financePage,
  financeInfoSum,
  financeInfoPage,
}